import Vue from 'vue'
import Router from 'vue-router'
import HelloWorld from '@/components/HelloWorld'
import Login from '@/components/Login'
import PP from '@/components/PP'
import Order from '@/components/Order'
import Registered from '@/components/Registered'
import Logins from '@/components/Logins'
Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/HelloWorld',
      name: 'HelloWorld',
      component: HelloWorld
    },
    {
      path: '/Login',
      name: 'Login',
      component: Login
    },
    {
      path: '/PP',
      name: 'PP',
      component: PP
    },
    {
      path: '/Order',
      name: 'Order',
      component: Order
    },
    {
      path: '/',
      name: 'Registered',
      component: Registered
    },
    {
      path: '/Logins',
      name: 'Logins',
      component: Logins
    }
  ]
})
